home *** CD-ROM | disk | FTP | other *** search
- /*
- // GWorldUtils.h
- //
- // Created: 8/12/91 at 8:01:49 PM
- // By: Tony Myles
- //
- // Copyright: © 1991-93 Tony Myles, All rights reserved worldwide
- //
- // Description: some utility routines to help create graphics worlds
- */
-
-
- #ifndef __GWORLDUTILS__
- #define __GWORLDUTILS__
-
- #ifndef __QDOFFSCREEN__
- #include <QDOffscreen.h>
- #endif
-
- // QuickDraw.h
- OSErr CreateOptimumGWorld(GWorldPtr *optGWorld, Rect *devRect);
- OSErr CreateGWorldFromPictResource(GWorldPtr *pictGWorldP, short pictResID);
- OSErr CreateGWorldFromPict(GWorldPtr *pictGWorld, PicHandle pictH);
- OSErr CreateGWorldFromCIconResource(GWorldPtr *iconGWorldP, short iconResID);
- OSErr CreateGWorldFromCIcon(GWorldPtr *iconGWorldP, CIconHandle cIconH);
- OSErr CreateGWorldFromCIconMask(GWorldPtr *maskGWorldP, CIconHandle cIconH);
- OSErr CreateRegionFromCIconMask(RgnHandle *maskRgn, CIconHandle cIconH);
-
-
- #endif
-
-